package birdsVSZombiesClient.gameGraphic;

import processing.core.PConstants;

public class BVZGameShapeBoundaries extends BVZGameShape {

	public BVZGameShapeBoundaries(float shapePosX, float shapePosY,
			float shapeSizeX, float shapeSizeY, float shapeAngle,
			int shapeFillColor, int shapeStrokeColor, int shapeStrokeWeight) {
		super(shapePosX, shapePosY, shapeSizeX, shapeSizeY, shapeAngle,
				shapeFillColor, shapeStrokeColor, shapeStrokeWeight);
	}

	public BVZGameShapeBoundaries() {
		super();
	}
	
	public void display(){
		parent.rectMode(PConstants.CENTER);
		parent.pushMatrix();
		parent.translate(this.spx, this.spy);
		parent.rotate(PConstants.PI - this.sa);
		parent.fill(this.sfc);
		parent.stroke(this.ssc);
		parent.strokeWeight(this.ssw);
		parent.rect(0, 0, this.ssx, this.ssy);
		parent.popMatrix();
	}
	
}
